IfSo\Services\GeolocationService\GeolocationService C

Total Complexity 103
Dependencies 6
Dependents 5
Total lines 316
Lines of code 257
Logical lines of code 171
Comment lines 14
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
notifications_email()
B
40 24 48
get_location_by_ip()
B
48 21 27
send_session_to_localdb()
A
41 15 50
get_user_ip()
S
55 6 19
get_cached_geo_data()
S
59 6 13
get_user_location()
S
61 6 11
get_localdb_notification_data()
S
61 3 12
can_send_notification()
S
63 3 11
cache_geo_data()
S
58 2 15
reset_email_triggers()
S
68 3 6
log_geo_request()
S
71 3 5
str_contains()
S
71 2 6
add_value_to_option()
S
72 2 5
get_status()
S
63 2 10
get_instance()
S
73 2 5
get_geo_data()
S
62 2 10
__construct()
S
76 1 4